package com.partner.partnerback.service;

import com.partner.partnerback.controller.domain.LoginDTO;
import com.partner.partnerback.controller.domain.UserRequest;
import com.partner.partnerback.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Hillky
 * @since 2022-12-26
 */
public interface IUserService extends IService<User> {

    LoginDTO login(@Param("user") UserRequest user);

    User register(UserRequest user);

    void sendEmail(String email, String type);

    String passwordReset(UserRequest userRequest);
}
